package com.acoffee.service.Impl;

import com.acoffee.mapper.UserMapper;
import com.acoffee.pojo.User;
import com.acoffee.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author acoffee
 * @create 2021-11-22 21:03
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> queryAll() {
        List<User> users = userMapper.queryAll();
        return users;
    }
}
